package test;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;
import java.util.Scanner;

public class shuzuchazhao {
		public static void main(String args[]){
		ArrayList<Integer> a=new ArrayList<>();
		Scanner scanner=new Scanner(System.in);
		
			int b=scanner.nextInt();
			for(int i=0;i<b;i++){
				Random random=new Random();
				a.add(random.nextInt(100));
			}
			System.out.println(a);
			int c=scanner.nextInt();
			int d=a.indexOf(c);
			if(d!=-1)
			System.out.println(d);
			else{
				System.out.println("未找到该数字");
			}
		}
}
